package com.xyongfeng.foodManagement.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xyongfeng.foodManagement.domain.group.AddGroup;
import com.xyongfeng.foodManagement.domain.group.LoginGourp;
import com.xyongfeng.foodManagement.domain.group.NormalGroup;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.util.List;


@Data
public class AdminInfoVO {

    /**
     * 管理员工号
     */
    private Integer adminId;

    /**
     * 管理员姓名
     */
    private String adminName;

    /**
     * 管理员联系电话
     */
    private String adminPhone;

    /**
     * 管理员账号
     */
    private String adminUsername;

    private Integer adminRoleId;


    @TableField(exist = false)
    private String role;

    @TableField(exist = false)
    private List<String> permissions;
}
